home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
vesa24_2.zip
/
MACROS.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-04-09
|
493b
|
29 lines
;----------------------------macros.asm-----------------------------
;
; Set up the assembly language program for "C" compatability
; Calling sequence:
; Prefix
;
Prefix MACRO
push bp ; Save the base pointer
mov bp, sp ; Copy the stack pointer
push ds
push es
push si
push di
ENDM
;
; Finish the assembly language program for "C" compatability
; Calling sequence:
; Postfix
;
Postfix MACRO
pop di
pop si
pop es
pop ds
mov sp, bp
pop bp
ret
ENDM